import axios from "@/utils/request";

// 查询【请填写功能名称】列表
export const listBasic=(query:any)=>{
  return axios({
    path: '/system/basic/list',
    method: 'get',
    data: query
  })
}

// 查询【请填写功能名称】详细
export const getBasic=(stBasicId:any)=> {
  return axios({
    path: '/system/basic/' + stBasicId,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export const addBasic=(data:any)=> {
  return axios({
    path: '/system/basic',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export const updateBasic=(data:any) =>{
  return axios({
    path: '/system/basic',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export const delBasic=(stBasicId:any)=> {
  return axios({
    path: '/system/basic/' + stBasicId,
    method: 'delete'
  })
}
